package com.example.demo.Controller;

import com.example.demo.Model.MapConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MapController {
    @Autowired
    private MapConfig mapConfig;

    @RequestMapping("/Map")
    public String readMap(){
        return mapConfig.toString();
    }
}
